gl driver: Make some members const
authorTimm Bäder <mail@baedert.org>
Thu, 9 Nov 2017 09:55:14 +0000 (10:55 +0100)
committerTimm Bäder <mail@baedert.org>
Thu, 21 Dec 2017 17:25:52 +0000 (18:25 +0100)
gsk/gskgldriver.c

index 41c6f6ca82fa29411087383f77ba5a0779000739..dbc397752752c9a70eeb9f15c9cdb5bc0c2235fe 100644 (file)
@@ -45,10 +45,10 @@ struct _GskGLDriver
   GHashTable *textures;
   GHashTable *vaos;
 
-  Texture *bound_source_texture;
-  Texture *bound_mask_texture;
-  Vao *bound_vao;
-  Fbo *bound_fbo;
+  const Texture *bound_source_texture;
+  const Texture *bound_mask_texture;
+  const Vao *bound_vao;
+  const Fbo *bound_fbo;
 
   int max_texture_size;